using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace WebAPI.domain.Entity
{
    public class UserRoles : BaseEntity
    {
        public Guid UserId { get; set; }
        public Guid RoleId { get; set; }

        [Required]
        [StringLength(50,MinimumLength =2)]
        // public string User { get; set; }= string.Empty;
        public string User { get; set; }= "";
        [Required]
        [StringLength(50,MinimumLength =2)]
        public string Role { get; set; } = "";
    }
}